<template>
    <menu-bar :todoList="list">
        <template v-slot:item0>
            <input type="radio"  value="0" v-model="open" @click="openFeatureSelect">打开
            <input type="radio"  value='1' v-model="open" @click="closeFeatureSelect">关闭
        </template>
        <template v-slot:item1>world</template>
    </menu-bar>
</template>
<script type="module">
import MenuBar from '@/components/MenuBar.vue'
export default{
    components:{MenuBar},
    data(){
        return{ 
            open:'0',
            list: [
                '高亮显示',
                '光照',
            ]
        }
    },
    methods:{
        openFeatureSelect(){
            global.postProcessUtil.loadFeaturePicker();
        },
        closeFeatureSelect(){
            global.postProcessUtil.removeFeaturePicker();
        }
    }
}
</script>
<style scoped>

</style>    